@PACKAGE_INIT@

include(CMakeFindDependencyMacro)

if(@WITH_ZLIB@)
  find_dependency(ZLIB)
endif()

if(@WITH_SSL@)
  if(@WITH_BUNDLED_SSL@)
    # TODO: custom SSL library should be installed
  else()
    find_dependency(OpenSSL)
  endif()
endif()

find_dependency(Threads)

include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake")
check_required_components("@PROJECT_NAME@")
